package com.gai.entity;

public class User {
    private Integer id;
    private  String uname;

    public void init(){
        System.out.println("这里是user的初始化方法");
    }

    public void destroy(){
        System.out.println("这个是user的销毁方法");
    }

    public User() {
        System.out.println("这里是user的构造方法");
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        System.out.println("这里是user的setid的方法");
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }
}
